/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package emf.entity_relationship.model.entityrelationship;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Restriction</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link emf.entity_relationship.model.entityrelationship.Restriction#getType_restriction <em>Type restriction</em>}</li>
 *   <li>{@link emf.entity_relationship.model.entityrelationship.Restriction#getRelationships <em>Relationships</em>}</li>
 * </ul>
 * </p>
 *
 * @see emf.entity_relationship.model.entityrelationship.EntityrelationshipPackage#getRestriction()
 * @model
 * @generated
 */
public interface Restriction extends EObject {
	/**
	 * Returns the value of the '<em><b>Type restriction</b></em>' attribute.
	 * The literals are from the enumeration {@link emf.entity_relationship.model.entityrelationship.TypeRestriction}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Type restriction</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Type restriction</em>' attribute.
	 * @see emf.entity_relationship.model.entityrelationship.TypeRestriction
	 * @see #setType_restriction(TypeRestriction)
	 * @see emf.entity_relationship.model.entityrelationship.EntityrelationshipPackage#getRestriction_Type_restriction()
	 * @model
	 * @generated
	 */
	TypeRestriction getType_restriction();

	/**
	 * Sets the value of the '{@link emf.entity_relationship.model.entityrelationship.Restriction#getType_restriction <em>Type restriction</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Type restriction</em>' attribute.
	 * @see emf.entity_relationship.model.entityrelationship.TypeRestriction
	 * @see #getType_restriction()
	 * @generated
	 */
	void setType_restriction(TypeRestriction value);

	/**
	 * Returns the value of the '<em><b>Relationships</b></em>' reference list.
	 * The list contents are of type {@link emf.entity_relationship.model.entityrelationship.Relationship}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Relationships</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Relationships</em>' reference list.
	 * @see emf.entity_relationship.model.entityrelationship.EntityrelationshipPackage#getRestriction_Relationships()
	 * @model lower="2" upper="2"
	 * @generated
	 */
	EList<Relationship> getRelationships();

} // Restriction
